package com.atgugui.gulimall.search.vo;

import lombok.Data;

import java.util.List;

/**
 * 商品搜索的条件参数
 */
@Data
public class SearchParamVo {

    private String keyword;
    private Long catalog3Id;

    /**
     *  sort=saleCount_asc/desc
     *  sort=skuPrice_asc/desc
     *  sort=hotScore_asc/desc
     */
    private String sort;

    private Integer hasStock;//是否有货
    private String skuPrice;//价格区间
    private List<Long> brandId;//按品牌查询
    private List<String> attrs;//筛选属性
    private Integer pageNum = 1;
}
